﻿<vt:set var="MasterPage" value="1" remark="设置一个变量,用于标示是处于MasterPage页中" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Greeny</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
    function clearText(field) {
        if (field.defaultValue == field.value) field.value = '';
        else if (field.value == '') field.value = field.defaultValue;
    }
</script>
</head>
<body>
<div id="header_wrapper">
  <div id="header">
    <div id="site_title">
      <h1><a href="#"> <img src="css/1.png" alt="" /> <span>诸葛亮 字孔明 号卧龙</span> </a></h1>
    </div>
    <div id="menu">
      <ul>
        <li><a href="index.ashx" class="current">首页</a></li>
        <li><a href="bloglist.ashx">孔明工作室</a></li>
        <li><a href="#">网站建设</a></li>
        <li><a href="#">酷图看看</a></li>
        <li><a href="#">联系我</a></li>
      </ul>
    </div>
    <!-- end of menu -->
    <div id="search_box">
      <form action="#" method="get">
        <input type="text" value="Enter a keyword" name="q" size="10" id="searchfield" onfocus="clearText(this)" onblur="clearText(this)" />
      </form>
    </div>
    <div class="cleaner"></div>
  </div>
  <!-- end of header -->
</div>
<!-- end of header_wrapper -->
<div id="content_wrapper">
<vt:output tagid="PageContent" />

  <div id="sidebar">
    <div class="sidebar_section">
      <h2>标签列表</h2>
      <div class="sidebar_section_content">
        <ul class="categories_list">
        <vt:foreach from="$Lables" item="item" >
          <li><a href="bloglist.ashx?lable={$item.LableName}">{$item.LableName}</a></li>
         </vt:foreach>
        </ul>
      </div>
    </div>
    <div class="cleaner_h30"></div>
    <div class="sidebar_section">
      <h2>收听微博</h2>
      <div class="sidebar_section_content">
        <form action="#" method="get">
          <label>Please enter your email address to subscribe our newsletter.</label>
          <input type="text" value="" name="username" size="10" id="input_field" />
          <input type="submit" name="login" value="Subscribe" alt="login" id="submit_btn" />
        </form>
        <div class="cleaner"></div>
      </div>
    </div>
  </div>
  <!-- end of sidebar -->
  <div class="cleaner"></div>
</div>
<div id="content_wrapper_bottom"></div>
<!-- end of content_wrapper -->

  
<div id="footer">
  <ul class="footer_menu">
    <li><a href="#" class="current">首页</a></li>
        <li><a href="#">孔明工作室</a></li>
        <li><a href="#">网站建设</a></li>
        <li><a href="#">酷图看看</a></li>
        <li><a href="#">联系我</a></li>
  </ul>
  Copyright &copy; 2048 <a href="#">Your Company Name</a> | Designed by <a href="http://www.templatemo.com/">Free CSS Templates</a></div>
<!-- end of footer -->
</body>
</html>
